import http from "@/api/index";

export const tinyPng = (data,config) => {
    console.log('======>',data)
    return http.post("/tools/tinypng", data,config);
}

export const upload = (data,config) => {
    return http.post("/tools/upload", data,config);
}

export const merge = (data) => {
    return http.post("/tools/merge",data);
}


export const editVideo = (data) => {
    return http.post("/tools/editVideo",data);
}

export const downloadFile = (data,config) => {
    return http.post("/tools/download",data,config);
}